xcommander.createXCommand({
	name : "hello",
	description : "Echo der Eingabe",
	help : "Gib deinen Namen im ersten Argument an.",
	author : { name : "Simon Binkert", 	email : "sbinkert@xcommander.ch" },
	license : "MIT",
	homepage : "http://hello.xcommander.ch/",
	update : "http://hello.xcommander.ch/update.json",
	icon : "http://www.xcommander.ch/favicon.ico",
	arguments : [{
		role : "object",
		nountype : "text",
		label : "Name"
	}],
	install : function() {
		xcommander.lib.storage.setItem("default_name", "Hans");
	},
	uninstall : function() {
		xcommander.lib.storage.removeItem("default_name");
	},
	execute : function execute(args, preview) {
		xcommander.lib.browser.navigateTo("http://www.xcommander.ch");
	},
	preview : function preview(args, preview) {
		if(args.object) {
			preview.html("Hallo " + args.object);
		} else {
			xcommander.lib.storage.getItem("default_name", function(value) {
				preview.html("Hallo " + value);
			});
		}
	}
});
